/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package asfabdesk.dominio;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 *
 * @author Marco Aurelio
 */
@Entity
public class EntradaTransferencia implements Serializable {

    @Id
    private Long id;
    private double saldoAnterior;
    private double saldoPost;
    private SaidaTransferencia saidaTransferencia;
    private DepositoFinanceiro depositoOrigem;

    public EntradaTransferencia() {
    }

    public EntradaTransferencia(SaidaTransferencia saidaTransferencia) {
        this.saidaTransferencia = saidaTransferencia;
    }

    public SaidaTransferencia getSaidaTransferencia() {
        return saidaTransferencia;
    }

    public void setSaidaTransferencia(SaidaTransferencia saidaTransferencia) {
        this.saidaTransferencia = saidaTransferencia;
    }

    public double getSaldoAnterior() {
        return saldoAnterior;
    }

    public void setSaldoAnterior(double saldoAnterior) {
        this.saldoAnterior = saldoAnterior;
    }

    public double getSaldoPost() {
        return saldoPost;
    }

    public void setSaldoPost(double saldoPost) {
        this.saldoPost = saldoPost;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public DepositoFinanceiro getDepositoOrigem() {
        return depositoOrigem;
    }

    public void setDepositoOrigem(DepositoFinanceiro depositoOrigem) {
        this.depositoOrigem = depositoOrigem;
    }
}
